package com.ruoyi.project.ledger.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 经营户人员对象 ledger_business_worker
 *
 * @author gwc
 * @date 2020-05-08
 */
public class LedgerBusinessWorker extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "序列号", cellType = Excel.ColumnType.NUMERIC,type = Excel.Type.EXPORT)
    private Long id;
    /** 经营户id */
    private Long businessId;

    /** 经营户名称 */
    @Excel(name = "企业名称")
    private String businessName;
    @Excel(name = "营业执照号")
    private String businessLicenseNo;
    /** 姓名 */
    @Excel(name = "姓名")
    private String name;
    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;
    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;
    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;
//    @Excel(name = "是否法人", type = Excel.Type.IMPORT)
//    private String isFr;
//    @Excel(name = "是否负责人", type = Excel.Type.IMPORT)
//    private String isFzr;
//    @Excel(name = "是否值班员", type = Excel.Type.IMPORT)
//    private String isZby;
//    @Excel(name = "否值叉车工", type = Excel.Type.IMPORT)
//    private String isCcy;
    @Excel(name="岗位")
    private String postNames;
    /** 叉车资格证号 */
    @Excel(name = "叉车资格证号")
    private String forkliftQualification;
    /** 叉车操做工复审日期 */
    @Excel(name = "叉车操做工复审日期", dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date forkliftReviewDate;

    /** 创建人 */
    private String createId;

    /** 更新人 */
    private String updateId;

    private String delFlag;

    private List<String> postList;

    private String[] posts;

    private Long stationId;

    private String stationName;

    private SysDept sysDept;

    private String[] imgs;

    private List<Map<String, Object>> imgList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBusinessId(Long businessId)
    {
        this.businessId = businessId;
    }

    public Long getBusinessId()
    {
        return businessId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setNativePlace(String nativePlace)
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace()
    {
        return nativePlace;
    }
    public void setForkliftQualification(String forkliftQualification)
    {
        this.forkliftQualification = forkliftQualification;
    }

    public String getForkliftQualification()
    {
        return forkliftQualification;
    }
    public void setForkliftReviewDate(Date forkliftReviewDate)
    {
        this.forkliftReviewDate = forkliftReviewDate;
    }

    public Date getForkliftReviewDate()
    {
        return forkliftReviewDate;
    }
    public void setCreateId(String createId)
    {
        this.createId = createId;
    }

    public String getCreateId()
    {
        return createId;
    }
    public void setUpdateId(String updateId)
    {
        this.updateId = updateId;
    }

    public String getUpdateId()
    {
        return updateId;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public List<String> getPostList() {
        return postList;
    }

    public void setPostList(List<String> postList) {
        this.postList = postList;
    }

    public String[] getPosts() {
        return posts;
    }

    public void setPosts(String[] posts) {
        this.posts = posts;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public String getPostNames() {
        return postNames;
    }

    public void setPostNames(String postNames) {
        this.postNames = postNames;
    }

    public String getBusinessLicenseNo() {
        return businessLicenseNo;
    }

    public void setBusinessLicenseNo(String businessLicenseNo) {
        this.businessLicenseNo = businessLicenseNo;
    }

    public String[] getImgs() {
        return imgs;
    }

    public void setImgs(String[] imgs) {
        this.imgs = imgs;
    }

    public List<Map<String, Object>> getImgList() {
        return imgList;
    }

    public void setImgList(List<Map<String, Object>> imgList) {
        this.imgList = imgList;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "LedgerBusinessWorker{" +
                "id=" + id +
                ", businessId=" + businessId +
                ", businessName='" + businessName + '\'' +
                ", businessLicenseNo='" + businessLicenseNo + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", idCard='" + idCard + '\'' +
                ", nativePlace='" + nativePlace + '\'' +
                ", forkliftQualification='" + forkliftQualification + '\'' +
                ", forkliftReviewDate=" + forkliftReviewDate +
                ", postNames='" + postNames + '\'' +
                ", createId='" + createId + '\'' +
                ", updateId='" + updateId + '\'' +
                ", postList=" + postList +
                ", posts=" + Arrays.toString(posts) +
                ", stationId=" + stationId +
                ", stationName='" + stationName + '\'' +
                ", sysDept=" + sysDept +
                ", imgs=" + Arrays.toString(imgs) +
                ", imgList=" + imgList +
                '}';
    }
}
